package com.wmh.baseservice.system.controller;

import com.wmh.baseservice.common.utils.returnbody.ReturnBody;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import com.wmh.baseservice.system.service.SysChatService;

/**
 * @author wmh generator
 * @since 2022-07-10
 */
@Api(tags = "系统-聊天消息相关接口")
@RestController
@RequestMapping(value = "system/sysChat", produces = "text/plain;charset=utf-8")
public class SysChatController {

    @Resource
    private SysChatService sysChatService;

    @ApiOperation("获取聊天记录列表")
    @PostMapping("getMsgList")
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", dataTypeClass = Long.class, name = "uid", value = "聊天对方的id", required = true),
            @ApiImplicitParam(paramType = "query", dataTypeClass = Long.class, name = "uid", value = "聊天对方的id", required = true),
    })
    public String getMsgList(){

        return ReturnBody.success();
    }

}
